﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace right_angled_triangle
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.Write("请输入行数：");
            string line = Console.ReadLine();
            int linemunber = int.Parse(line);
            for (int i = 1; i <= linemunber; i++)
            {
                for (int j = 1; j <=i; j++)
                {
                    Console.Write("*");

                }
                Console.WriteLine("");
            }
            Console.ReadKey();
        }
    }
}
